<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>商家详情</title>
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
		<script type="text/javascript" src="__PUBLIC__/static/js/jquery.min.js"></script>
		<link rel="stylesheet" href="__PUBLIC__/static/layui/css/layui.css">
		<script src="__PUBLIC__/static/layui/layui.js"></script>
	</head>

	<body>
		<form id="my_form" class="layui-form update_form"  method="post">
			<div class="layui-form-item update_scbtn">
				<label class="layui-form-label"></label>
				<div class="layui-upload">
				  <div class="layui-upload-list" style="    margin-left: 10%;">
				    <img class="layui-upload-img" src="{$ad.logo}" id="demo1" style="width: 150px;height: 150px;margin-left:1px;">
				    <p id="demoText"></p>
				  </div>
				</div>   
				<input type="hidden" name='thumb' id='thumb' />
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">商户名称</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="agent_name" lay-verify="required" value="{$ad.agent_name}" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">店铺性质</label>
				
				<div class="layui-input-block" style="float: left; margin-right: 20px; margin-left: 0;">
					<select name="store_property" id='store_property' lay-verify="required" lay-filter="sel_1">
						<option {if condition="$ad.store_property==1" } selected="selected" {/if}>个人</option>
						<option {if condition="$ad.store_property==2" } selected="selected" {/if}>企业</option>
						<option {if condition="$ad.store_property==3" } selected="selected" {/if}>个体户</option>
					</select>
				</div>				
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">地址</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="mobile" value="{$ad.address}" lay-verify="required" placeholder="商家地址" autocomplete="off" class="layui-input">
				</div>
			</div>			
			<div class="layui-form-item">
				<label class="layui-form-label">联系电话</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="mobile" value="{$ad.mobile}" lay-verify="required" placeholder="联系电话" autocomplete="off" class="layui-input">
				</div>
			</div>
		</form>
	</body>
</html>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.min.js"></script>
<link rel="stylesheet" href="__PUBLIC__/static/layui/css/layui.css">
<script src="__PUBLIC__/static/layui/layui.all.js"></script>